# $Id: PKGBUILD 65907 2012-02-22 13:33:47Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-pod-coverage
pkgver=0.21
pkgrel=2
pkgdesc="Checks if the documentation of a module is comprehensive "
arch=('any')
url="http://search.cpan.org/dist/Pod-Coverage"
license=('GPL' 'PerlArtistic')
depends=('perl-devel-symdump>=2.01')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-$pkgver.tar.gz)
md5sums=('3d8acba0817cc01b03d63bb05e4cef52')

build() {
  cd  $srcdir/Pod-Coverage-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
